package com.fintech.pangu.sample.web.mapper;

import com.fintech.pangu.sample.web.dto.SampleDto;
import com.fintech.pangu.sample.web.qo.SampleRequest;
import org.mapstruct.Mapper;

/**
 * web样例实体转换器
 *
 * @author xujunqi
 * @since 1.0.0
 */
@Mapper(componentModel = "spring")
public interface WebSampleMapper {

    /**
     * 接口请求实体 转换为 业务传输对象
     *
     * @param sampleRequest 接口请求实体
     * @return
     */
    SampleDto fetchReq2Dto(SampleRequest sampleRequest);
}
